package cn.com.customer.manager.adapter

import android.view.View
import cn.com.customer.manager.R
import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.BaseViewHolder

class TimeLineAdapter(rid: Int): BaseQuickAdapter<Map<String,String>, BaseViewHolder>(rid) {

    override fun convert(helper: BaseViewHolder?, item: Map<String, String>?) {
     helper?.let {
         if (helper.adapterPosition==data.size-1){
            var view: View = helper . itemView . findViewById (R.id.line_timeline)
             view.visibility=View.GONE
         }
     }
    }
}